﻿using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.Business.Entitys.WMS.Entity;

/// <summary>
/// 移库实体.
/// </summary>
[SugarTable("wms_busi_transfer_mstr", "移库表")]
[Tenant(ClaimConst.TENANTID)]
public class WmsBusiTransferMstrEntity : CLDEntityBase
{

    /// <summary>
    /// 移库单号.
    /// </summary>
    [SugarColumn(ColumnName = "F_No", ColumnDescription = "移库单号")]
    public string No { get; set; }

    /// <summary>
    /// 移库标签.
    /// </summary>
    [SugarColumn(ColumnName = "F_Barcode", ColumnDescription = "移库标签")]
    public string Barcode { get; set; }

    /// <summary>
    /// 物料id.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialId", ColumnDescription = "物料id")]
    public string MaterialId { get; set; }

    /// <summary>
    /// 物料code.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialCode", ColumnDescription = "物料code")]
    public string MaterialCode { get; set; }

    /// <summary>
    /// 物料名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialName", ColumnDescription = "物料名称")]
    public string MaterialName { get; set; }

    /// <summary>
    /// Site.
    /// </summary>
    [SugarColumn(ColumnName = "F_Site", ColumnDescription = "Site")]
    public string Site { get; set; }

    /// <summary>
    /// 数量.
    /// </summary>
    [SugarColumn(ColumnName = "F_Qty", ColumnDescription = "数量")]
    public decimal Qty { get; set; }

    /// <summary>
    /// 至库位id.
    /// </summary>
    [SugarColumn(ColumnName = "F_ToLocationId", ColumnDescription = "至库位id")]
    public string ToLocationId { get; set; }

    /// <summary>
    /// 至库位code.
    /// </summary>
    [SugarColumn(ColumnName = "F_ToLocationCode", ColumnDescription = "至库位code")]
    public string ToLocationCode { get; set; }

    /// <summary>
    /// 至库位名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_ToLocationName", ColumnDescription = "至库位名称")]
    public string ToLocationName { get; set; }

    /// <summary>
    /// 库位id.
    /// </summary>
    [SugarColumn(ColumnName = "F_FormLocationId", ColumnDescription = "库位id")]
    public string FormLocationId { get; set; }

    /// <summary>
    /// 库位code.
    /// </summary>
    [SugarColumn(ColumnName = "F_FormLocationCode", ColumnDescription = "库位code")]
    public string FormLocationCode { get; set; }

    /// <summary>
    /// 库位名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_FormLocationName", ColumnDescription = "库位名称")]
    public string FormLocationName { get; set; }

    /// <summary>
    /// 备注.
    /// </summary>
    [SugarColumn(ColumnName = "F_Remark", ColumnDescription = "备注")]
    public string Remark { get; set; }

    /// <summary>
    /// 状态：0 未完成 1 已完成.
    /// </summary>
    [SugarColumn(ColumnName = "F_Status", ColumnDescription = "状态：0 未完成 1 已完成")]
    public int? Status { get; set; }

    /// <summary>
    /// 操作时间.
    /// </summary>
    [SugarColumn(ColumnName = "F_OperatorDate", ColumnDescription = "操作时间")]
    public DateTime? OperatorDate { get; set; }

    /// <summary>
    /// 操作人.
    /// </summary>
    [SugarColumn(ColumnName = "F_OperatorId", ColumnDescription = "操作人")]
    public string OperatorId { get; set; }
}